import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import postcssPxToViewport from 'postcss-px-to-viewport';
// https://vite.dev/config/
export default defineConfig({
  assetsInclude: ['**/*.glb'],
  plugins: [react()],
  css: {
    postcss: {
      plugins: [
        postcssPxToViewport({
          viewportWidth: 700,
          viewporUnit: 'vw',
        })
      ]
    }
  }
})
